package com.ant.backstage.facade.response;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_EMPTY ) //为null的字段不返回
public  class PageFrontResponse<T> extends FrontResponse {
    private static final long serialVersionUID = -6080858828270195838L;
    private Long total;   //总记录数
    private int pageNum = 1; //页码
    private int pageSize = 10;//每页显示数量
    private int pages; //总页数
    private T data;//结果集


}
